package cn.edu.DAO;

import cn.edu.DO.PlaceDO;
import cn.edu.DO.UserDO;
import cn.edu.DO.UserplayDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface  UserDAOByXML {
//    查询所有
    public List<UserplayDO> selectAlluserplay();
    public List<PlaceDO> selectAllplace();
//    添加
    public Integer insertplace(String name,String money);
    public Integer insertuser(String username,String password);
//  删除
    public Integer deleteplaceByname(String name);
//    登录检查
    public UserDO queryuserToLogin(String username,String password);
//更新
    public Integer updataplace(String newname,String newmoney,String name);


}
